<form id="form-add" method="post" class="luck-from">
    <div class="group-label">
        <span class="luck-block">用户名：</span>
        <input class="easyui-textbox w350" id="username" name="username"
               data-options="required:'true',missingMessage:'用户名不能为空！',validType:['username[\'4~16位字符，可以包含字母、数字、下划线!\']','checkUsername[\'${ctxPath}/system/user/checkUserName\',\'${i18n('msg.username.found')}\']'],validateOnCreate:false,delay:600000">
    </div>
    <div class="group-label">
        <span class="luck-block">密码：</span>
        <input class="easyui-textbox w350" id="userpass" name="userpass" data-options="type:'password',required:'true',missingMessage:'密码不能为空！',validType:'password[\'4~16位字符，可以包含字母、数字、下划线!\']'">
    </div>
    <div class="group-label">
        <span class="luck-block">确认密码：</span>
        <input class="easyui-textbox w350" id="userpassa" name="userpassa" data-options="type:'password',required:'true',missingMessage:'确认密码不能为空！',validType:'confirmPass[\'#userpass\',\'两次输入密码不一致！\']'">
    </div>
    <div class="group-label">
        <span class="luck-block">姓名：</span>
        <input class="easyui-textbox w350" id="xm" name="xm" data-options="required:'true',missingMessage:'姓名不能为空！'">
    </div>
    <div class="group-label">
        <span class="luck-block">工号：</span>
        <input class="easyui-textbox w350" id="gh" name="gh" data-options="required:'true',missingMessage:'工号不能为空！',validType:'regxp[/^[A-Z_a-z0-9]{1,20}$/,\'最多输入20位，只能输入数字或字母！\']'">
    </div>
    <div class="group-label">
        <span class="luck-block">手机号码：</span>
        <input class="easyui-textbox w350" id="phone" name="phone" data-options="validType:'maxLen[100,\'1~100位字符，英文一个字符，中文两个字符!\']'">
    </div>
    <div class="group-label">
        <span class="luck-block">email：</span>
        <input class="easyui-textbox w350" id="email" name="email" data-options="validType:'maxLen[100,\'1~100位字符，英文一个字符，中文两个字符!\']'">
    </div>
    <div class="group-label">
        <span class="luck-block">角色：</span>
        <select class="easyui-combobox w350" data-options="prompt:'请选择',panelHeight:'auto',url:'${ctxPath}/dm/systemRole', method:'get', valueField:'roleId', textField:'roleName',editable:false,required:'true',validType:'selectValueRequired[\'sel_role\',\'请选择角色！\']'" id="sel_role"
                name="sel_role">
        </select>
    </div>
</form>